﻿using MailKit;
using System;
using System.Collections.Generic;
using System.Text;

namespace EmailHelper.Model
{
    /// <summary>
    /// 联系人信息
    /// </summary>
    public class ContactInfo
    {
        /// <summary>
        /// 电子邮件地址代表的联系人标识符
        /// </summary>
        public string Id;
        /// <summary>
        /// 电子邮件关联的名称
        /// </summary>
        public string Name;
        /// <summary>
        /// 邮件地址
        /// </summary>
        public string Address;
        /// <summary>
        /// email地址的类型
        /// </summary>
        public int EmailType;

        /// <summary>
        /// 与电子邮件地址关联的路由类型，eg，SMTP
        /// 所以完整的是SMTP:emailAddress
        /// </summary>
        public string RoutingType;
    }

}
